<!DOCTYPE html>
<html lang="en"
      xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.thymeleaf.org"
      layout:decorator="layout/m_master">

<div layout:fragment="content">
    <div class="page-group">
        <div class="page page_manage_deposit">
            <div th:replace="layout/m_layout::title('钱包')"></div>
            <div class="page-content infinite-scroll">

                <div class="bcui-infinite" th:attr="pages-src=${requestUrl}" pages-current="1">
                    <div class="bcui-infinite-list bcui-userlist detailslist"></div>
                    <div class="bcui-infinite-preloader" status="nothing">
                        <div class="bcui-flow-more"><font>加载更多</font></div>
                        <div class="bcui-flow-loading"></div>
                        <div class="bcui-flow-end"><font>没有了～</font></div>
                        <div class="bcui-flow-nothing"><font>没有找到相关数据！</font></div>
                    </div>		    </div>

            </div>
        </div>
    </div>
    <div th:replace="layout/m_layout::systemJs"></div>
    <script type="text/javascript">
        // 加载最新单身列表
        var thisload = bottlecms.load({
            done: function(page, next) {
                var src = $('.bcui-infinite').attr('pages-src');
                bottlecms.get(src, {page:page}, function(data) {
                    var lis = [];
                    for (var o in data.list) {
                        lis.push(details_template(data.list[o]))
                    }
                    next(lis.join(''), lis.length);
                })
            }
        });
        thisload.load();

    </script>
</div>
</html>
